-- GENERATED SPELL FOR [Wrathscale Naga] --


function spell0_17193(pUnit, Event) --@Hamstring,n/a--
pUnit:FullCastSpellOnTarget(9080,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17193', 10292, 1)
end

function Sorts_17193(pUnit, Event)
local choix_sorts_17193 = math.random(0, 0)
if choix_sorts_17193 == 0 then
pUnit:RegisterEvent('spell0_17193', 1, 1)
end
end

function mob17193_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17193', math.random(1500, 3000), 1)
end

function mob17193_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17193_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17193_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17193, 1, 'mob17193_Action')
RegisterUnitEvent(17193, 2, 'mob17193_Leave')
RegisterUnitEvent(17193, 3, 'mob17193_Kill')
RegisterUnitEvent(17193, 4, 'mob17193_Die')
